package part20;

import part20.annotation.Constraints;
import part20.annotation.DBTable;
import part20.annotation.SQLInteger;
import part20.annotation.SQLString;

/**
 * @author wcj
 * @Date 2021/6/6 16:18
 * @Version 1.0
 */
@DBTable(name = "Member")
public class Part203 {

 @SQLString(30)
 String firstName;
 @SQLString(50)
 String lastName;
 @SQLInteger
 Integer age;
 @SQLString(value = 30, constraints = @Constraints(primaryKey = true))
 String handle;
 static int memberCount;

 public String getFirstName() {
  return firstName;
 }

 public String getLastName() {
  return lastName;
 }

 public Integer getAge() {
  return age;
 }

 public String getHandle() {
  return handle;
 }

 @Override
 public String toString() {
  return handle;
 }
}
